﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

/// <summary>
/// Summary description for BUS_Province
/// </summary>
public class BUS_Province
{
    DAL_Province data = new DAL_Province();
    public DataTable Province_GetByAll()
    {
        DataTable dt = new DataTable();
        try
        {
            dt = data.Province_GetByAll();

        }
        catch (Exception)
        {

            throw;
        }
        return dt;
    }
    public DataTable Province_GetByTop(int top, string where, string order)
    {
        DataTable dt = new DataTable();
        try
        {
           dt= data.Province_GetByTop(top, where, order);

        }
        catch (Exception)
        {

            throw;
        }
        return dt;
    }
    public DataTable Province_GetByID(string id)
    {
        DataTable dt = new DataTable();
        try
        {
           dt=  data.Province_GetByID(id);

        }
        catch (Exception)
        {

            throw;
        }
        return dt;
    }
}